package com.atguigu.gmall.list.client.impl;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.list.client.ListFeignClient;
import com.atguigu.gmall.list.model.SearchParam;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;


/**
 * @author: atguigu
 * @create: 2023-09-09 11:22
 */
@Slf4j
@Component
public class ListDegradeFeignClient implements ListFeignClient {

    @Override
    public void incrHotScore(String skuId, int incrscore) {
        log.error("[搜索服务]incrHotScore远程调用服务降级！");

    }

    @Override
    public Result search(SearchParam searchParam) {
        log.error("[搜索服务]search远程调用服务降级！");
        return null;
    }
}
